package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 食堂订单对象 st_order
 * 
 * @author ruoyi
 * @date 2024-02-06
 */
public class StOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String id;

    /** 消费名称 */
    @Excel(name = "消费名称")
    private String name;

    /** 消费金额 */
    @Excel(name = "消费金额")
    private String amount;

    /** 余额 */
    @Excel(name = "余额")
    private String balance;

    /** 时间 */
    @Excel(name = "时间")
    private String time;

    /** 用户 */
    @Excel(name = "用户")
    private String user;

    /** 状态 */
    @Excel(name = "状态")
    private String states;
    private String pickupcode;

    private String pickupadd;

    private String imageurl;
    private String QRcode;
    private String userphone;
    private String username;
    private String isflag;
    private String orderids;
    private String foodcounts;
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setAmount(String amount) 
    {
        this.amount = amount;
    }

    public String getAmount() 
    {
        return amount;
    }
    public void setBalance(String balance) 
    {
        this.balance = balance;
    }

    public String getBalance() 
    {
        return balance;
    }
    public void setTime(String time) 
    {
        this.time = time;
    }

    public String getTime() 
    {
        return time;
    }
    public void setUser(String user) 
    {
        this.user = user;
    }

    public String getUser() 
    {
        return user;
    }
    public void setStates(String states) 
    {
        this.states = states;
    }

    public String getStates() 
    {
        return states;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("amount", getAmount())
            .append("balance", getBalance())
            .append("time", getTime())
            .append("user", getUser())
            .append("states", getStates())
            .toString();
    }

    public String getPickupcode() {
        return pickupcode;
    }

    public void setPickupcode(String pickupcode) {
        this.pickupcode = pickupcode;
    }

    public String getPickupadd() {
        return pickupadd;
    }

    public void setPickupadd(String pickupadd) {
        this.pickupadd = pickupadd;
    }

    public String getImageurl() {
        return imageurl;
    }

    public void setImageurl(String imageurl) {
        this.imageurl = imageurl;
    }

    public String getQRcode() {
        return QRcode;
    }

    public void setQRcode(String QRcode) {
        this.QRcode = QRcode;
    }

    public String getIsflag() {
        return isflag;
    }

    public void setIsflag(String isflag) {
        this.isflag = isflag;
    }


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUserphone() {
        return userphone;
    }

    public void setUserphone(String userphone) {
        this.userphone = userphone;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getOrderids() {
        return orderids;
    }

    public void setOrderids(String orderids) {
        this.orderids = orderids;
    }

    public String getFoodcounts() {
        return foodcounts;
    }

    public void setFoodcounts(String foodcounts) {
        this.foodcounts = foodcounts;
    }
}
